import request from '@/utils/request'

// 查询加注齿轮油/润滑油数据列表
export function listDetectionFillingData(query) {
  return request({
    url: '/data_manage/detectionFillingData/list',
    method: 'get',
    params: query
  })
}

// 查询加注齿轮油/润滑油数据详细
export function getDetectionFillingData(id) {
  return request({
    url: `/data_manage/detectionFillingData/${id}`,
    method: 'get'
  })
}

// 新增加注齿轮油/润滑油数据
export function addDetectionFillingData(data) {
  return request({
    url: '/data_manage/detectionFillingData',
    method: 'post',
    data: data
  })
}

// 修改加注齿轮油/润滑油数据
export function updateDetectionFillingData(data) {
  return request({
    url: '/data_manage/detectionFillingData',
    method: 'put',
    data: data
  })
}

// 删除加注齿轮油/润滑油数据
export function delDetectionFillingData(id) {
  return request({
    url: `/data_manage/detectionFillingData/${id}`,
    method: 'delete'
  })
}
